<?php

namespace ApiBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Training
 *
 * @ORM\Table(name="training", options={"comment":"培训表"} )
 * @ORM\Entity
 */
class Training
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @ORM\ManyToOne(targetEntity="ApiBundle\Entity\District")
     * @ORM\JoinColumn(name="district_id", referencedColumnName="id", nullable=true)
     */
    private $district;

    /**
     * @var string
     *
     * @ORM\Column(name="training_title_keyword", type="string", length=255, options={"default":"", "comment":"培训标题关键词"})
     */
    private $trainingTitleKeyword;

    /**
     * @var string
     *
     * @ORM\Column(name="training_no", type="string", length=20, options={"default":"", "comment":"培训编号"})
     */
    private $trainingNo;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="training_start_at", type="datetime", nullable=true, options={"comment":"培训开始日期"})
     */
    private $trainingStartAt;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="training_end_at", type="datetime", nullable=true, options={"comment":"培训结束日期"})
     */
    private $trainingEndAt;

    /**
     * @var string
     *
     * @ORM\Column(name="training_agency", type="string", length=45, options={"default":"", "comment":"培训机构"})
     */
    private $trainingAgency;

    /**
     * @var string
     *
     * @ORM\Column(name="training_agency_keyword", type="string", length=255, options={"default":"", "comment":"培训机构关键词"})
     */
    private $trainingAgencyKeyword;

    /**
     * @var string
     *
     * @ORM\Column(name="trainer", type="string", length=12, options={"default":"", "comment":"培训讲师"})
     */
    private $trainer;

    /**
     * @var string
     *
     * @ORM\Column(name="participant", type="text", options={"default":"", "comment":"参与人员"})
     */
    private $participant;

}
